package com.ldcc.report_system.api.results;

/**
 * @author wwj[yeshengkele@outlook.com]
 * @description 登录方法返回值
 */
public class LoginResults {

    private String token;
    private LoginUserResults user;

    public LoginResults() {
    }

    public LoginResults(String token, LoginUserResults user) {
        this.token = token;
        this.user = user;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public LoginUserResults getUser() {
        return user;
    }

    public void setUser(LoginUserResults user) {
        this.user = user;
    }

    @Override
    public String toString() {
        return "LoginResults{" +
                "token='" + token + '\'' +
                ", user=" + user +
                '}';
    }
}
